]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popMenu: Fix invalid allocation
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 18 Jul 2013 10:11:48 +0000 (11:11 +0100)
committerLionel Landwerlin <llandwerlin@gmail.com>
Thu, 18 Jul 2013 13:28:33 +0000 (14:28 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=704453

js/ui/popupMenu.js

index 53f9a31f4c9f8a60d7ee3062af4c1497aad618c9..45cfa4533d55345d067c92d05983495ca92ef034 100644 (file)
@@ -313,7 +313,7 @@ const PopupBaseMenuItem = new Lang.Class({
                 availWidth = box.x2 - x;
             } else {
                 if (this._columnWidths)
-                    availWidth += this._columnWidths[col++];
+                    availWidth = this._columnWidths[col++];
                 else
                     availWidth = naturalWidth;
             }